package com.roadjava.tutor.mapper;

import com.roadjava.tutor.bean.dto.StudentDemandDTO;
import com.roadjava.tutor.bean.dto.TeacherJobDTO;
import com.roadjava.tutor.bean.entity.StudentDemand;
import com.roadjava.tutor.bean.entity.TeacherJob;
import com.roadjava.tutor.bean.vo.StudentDemandVO;
import com.roadjava.tutor.bean.vo.TeacherJobVO;

import java.util.List;

/**
 * @author zhaodaowen
 * @see <a href="http://www.roadjava.com">乐之者java</a>
 */
public interface StudentDemandMapper {

    List<StudentDemandVO> listByPage(StudentDemandDTO dto);

    long selectCount(StudentDemandDTO dto);

    int insert(StudentDemand teacherJob);

    void deleteById(Long id);
}
